package com.briup.api.client;

import com.briup.api.domain.pojo.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Collection;
import java.util.List;

@FeignClient("bstore-item")
public interface ItemClient {
    @GetMapping("/goods/batch")
    List<Goods> queryItemByIds(@RequestParam("ids") Collection<Integer> ids);
}
